package com.zhixi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

/**
 * 开启缓存
 * @author zhixi
 */
@EnableCaching
@SpringBootApplication
@MapperScan("com.zhixi.mapper")
public class SpringbootSpringCacheRedisApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootSpringCacheRedisApplication.class, args);
    }

}
